package org.demo.warehouse.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.demo.warehouse.common.pojo.Record;
import com.baomidou.mybatisplus.extension.service.IService;
import org.demo.warehouse.common.pojo.RecordVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zgc
 * @since 2021-12-16
 */
public interface IRecordService extends IService<Record> {
    <E extends IPage<RecordVo>> E pageVo(E page, QueryWrapper<Record> wrapper);

    Map<String, List<Object>> getStatistic(Integer type);
}
